<?php
/*------------------------------------------
* @AUTHOR: TANDAT @EMAIL:tidusvn05@gmail.com
* @PHONE: +84933731173
* -----------------------------------------*/
class D_URL {
	
	
	static function getLink($key){
		$urls = array(
				"top" => ROOT_URL,
				"login" => ROOT_URL."/account/login",
				"logout" => ROOT_URL."/account/logout",
				"register" => ROOT_URL."/account/register",
				"reissuepwd" => ROOT_URL."/account/reissuepwd",
				"bookmark_list" => ROOT_URL."/service/bookmarklist",
				"service" => ROOT_URL."/service",
				"service_list" => ROOT_URL."/service/servicelist",
		 		"communicationlog" => ROOT_URL."/communicationlog",
				"inquiry" => ROOT_URL."/inquiry",
		//servicer 		
				"sp" => ROOT_URL. "/sp_admin",
				"servicer_logout" => ROOT_URL. "/sp_admin/account/logout",
				"servicer_reissuepwd" => ROOT_URL. "/sp_admin/account/reissuepwd",
				"servicer_service_list" => ROOT_URL. "/sp_admin/service/getlist",
				"servicer_order_list" => ROOT_URL. "/sp_admin/order/orderlist",
				"servicer_service_register" => ROOT_URL. "/sp_admin/service/register",
				"servicer_account_edit" => ROOT_URL. "/sp_admin/account/edit",
				"servicer_inquiry" => ROOT_URL. "/sp_admin/order/inquiry",
				"servicer_evaluate_comment_detail" => ROOT_URL. "/sp_admin/comment/evaluatecommentdetail",
				"servicer_communicationboard" => ROOT_URL. "/sp_admin/order/communicationboard",
				"sp_login" => ROOT_URL. "/sp_admin/account/login",
		
		//----- askul_admin------
				"askul" => ROOT_URL."/askul_admin",
				"askul_inquiry_list" => ROOT_URL."/askul_admin/inquiry/viewlist",
				"askul_servicer_list" => ROOT_URL."/askul_admin/servicer/getlist",
				"askul_service_list" => ROOT_URL."/askul_admin/service/list",
				"askul_userco_list" => ROOT_URL."/askul_admin/userco/viewlist",
				"askul_order_list" => ROOT_URL."/askul_admin/service/orderlist",
				"askul_member_list" => ROOT_URL."/askul_admin/member/list",
				"askul_member_new" => ROOT_URL."/askul_admin/member/new",
				"askul_evalue_comment" => ROOT_URL."/askul_admin/evaluatecomment/viewlist",
				"askul_category_list" => ROOT_URL."/askul_admin/category/list",
				
		
				"public" => ROOT_URL."/public",
				"public_img" => ROOT_URL."/public/img",
				"sp_public" => ROOT_URL."/public/sp_admin",
				"sp_public_img" => ROOT_URL."/public/sp_admin/img",
				"askul_public" => ROOT_URL."/public/askul_admin",
				"askul_public_img" => ROOT_URL."/public/askul_admin/img",
		
		//full domain
				"full_servicer_login" => D_Utils::getFullDomain()."/sp_admin/account/login",
				"full_servicer_inquiry" => D_Utils::getFullDomain()."/sp_admin/order/inquiry",
				"full_admin_inquiry_detail" => D_Utils::getFullDomain()."/askul_admin/inquiry/viewdetail",
				"full_admin_account_issuefirstpwd" => D_Utils::getFullDomain()."/sp_admin/account/issuefirstpwd",
		);
		
		return $urls[$key];
	}
	
	
}

?>